package com.team12.hotel404.service;

import com.team12.hotel404.domain.Role;

import java.util.List;

public interface RoleService {
    List<Role> listAllRole();

    void updateRoleInfo(Role role);

    void insertRole(Role role);

    void deleteRole(Integer id);

    void findRoleById(Integer id);

    List<Role> findRoleByUserId(Integer id);
}
